import axios from "axios";
import baseUrl from "../config/BaseUrl";

export function login(data) {
    return axios.post(baseUrl + "/login",data);
}

export function blogList(){
    return axios.get(baseUrl + "/blog/list")
}

export function refreshToken(token, access_token) {
    return axios.get(baseUrl + "/token?token="+token+"&access_token="+access_token)
}
